package shiqi.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import shiqi.dao.OrderDao;
import shiqi.pojo.Order;
import shiqi.service.OrderService;

@Service
@Transactional
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderDao orderDao;
    @Override
    public void updateOrder(Integer id) {
        orderDao.updateOrder(id);
    }
}
